package com.crh.service.impl;

import com.crh.bean.Jobs;
import com.crh.mapper.JobsMapper;
import com.crh.service.JobsService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author Chrui
 * @date 2018/10/09__11:37
 */
@Service
public class JobsServiceImpl implements JobsService {
    @Resource
    private JobsMapper jobsMapper;
    /**
     * 查询出所有的职业
     *
     * @return
     */
    @Override
    public List<Jobs> qureyAllJobs() {
        return jobsMapper.qureyAllJobs();
    }
}
